﻿namespace UtilZ.Dotnet.Ex.Communication.Net.Web
{
    /// <summary>
    /// Api参数值来源类型
    /// </summary>
    public enum ApiParameterValueSourceTypes
    {
        /// <summary>
        /// 无模板参数
        /// </summary>
        None,

        /// <summary>
        /// 参数来自QueryString
        /// </summary>
        FromQueryString,

        /// <summary>
        /// 模板参数来自url中
        /// </summary>
        FromUrl,

        /// <summary>
        /// 模板参数来自内容
        /// </summary>
        FromBody,

        /// <summary>
        /// http行为上下文
        /// </summary>
        ActionContext
    }
}
